<?php
namespace App\User\Dto;

use Mine\Interfaces\MineModelExcel;
use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;

/**
 * 用户信息表Dto （导入导出）
 */
#[ExcelData]
class UserInfoDto implements MineModelExcel
{
    #[ExcelProperty(value: "ID", index: 0)]
    public string $id;

    #[ExcelProperty(value: "用户vip_id,随机，不可重复", index: 1)]
    public string $room_no;

    #[ExcelProperty(value: "父节点", index: 2)]
    public string $pid;

    #[ExcelProperty(value: "昵称", index: 3)]
    public string $nickname;

    #[ExcelProperty(value: "头像", index: 4)]
    public string $avatar;

    #[ExcelProperty(value: "手机号", index: 5)]
    public string $mobile;

    #[ExcelProperty(value: "邮箱", index: 6)]
    public string $email;

    #[ExcelProperty(value: "性别0:未知,1男,2:女", index: 7)]
    public string $gender;

    #[ExcelProperty(value: "交易联接", index: 8)]
    public string $trade_url;

    #[ExcelProperty(value: "标识符,1-散户,2-内部用户", index: 9)]
    public string $is_flag;

    #[ExcelProperty(value: "是否已实名1实名，2 未实名", index: 10)]
    public string $is_real_name;

    #[ExcelProperty(value: "最后登陆ip", index: 11)]
    public string $login_last_ip;

    #[ExcelProperty(value: "最后登陆时间", index: 12)]
    public string $login_last_time;

    #[ExcelProperty(value: "邀请码", index: 13)]
    public string $invite_code;

    #[ExcelProperty(value: "来源类型
1:自已注册,2:通过邀请码注册，3.通过邀请链接注册
4:后台新增用户", index: 14)]
    public string $source_type;

    #[ExcelProperty(value: "用户状态 1正常 2冻结 3:注销", index: 15)]
    public string $status;

    #[ExcelProperty(value: "备注或是签名(测试账号可能会做个备注)", index: 16)]
    public string $remark;

    #[ExcelProperty(value: "创建者", index: 17)]
    public string $created_by;

    #[ExcelProperty(value: "创建时间", index: 18)]
    public string $create_time;

    #[ExcelProperty(value: "更新时间", index: 19)]
    public string $update_time;

    #[ExcelProperty(value: "删除数据", index: 20)]
    public string $delete_time;


}